package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 字典数据值
 */
@ApiModel(description = "字典数据值")
public class BaseDictionaryData {

	private Long id; // 主键 序列自增
	private String dataSimpleName; // 字典值简称
	private String dataName; // 字典值名称
	private String dataCode; // 字典值编码
	private Integer isDefault; // 是否为默认值 0:false 1:true
	private Integer isActive; // 是否冻结 0:禁用 1:激活
	private Long dictionaryId; // 字典ID 关联dictionary表主键
	private String dataIconUrl; // 字典值图标链接地址
	private String backColor; // 背景色
	private Integer sort; // 排序号
	private Long sysId; // 平台ID

	public static final Integer FORBIDDEN = 0; // 禁用
	public static final Integer ACTIVATION = 1; // 激活
	public static final Integer NOT_ACTIVE = 2; // 未激活

	public static final Long TAG_INFO = 13L; // 标签信息对应字典编号

	@ApiModelProperty(value = "主键 序列自增")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "字典值简称")
	public String getDataSimpleName() {
		return dataSimpleName;
	}

	public void setDataSimpleName(String dataSimpleName) {
		this.dataSimpleName = dataSimpleName;
	}

	@ApiModelProperty(value = "字典值名称")
	public String getDataName() {
		return dataName;
	}

	public void setDataName(String dataName) {
		this.dataName = dataName;
	}

	@ApiModelProperty(value = "字典值编码")
	public String getDataCode() {
		return dataCode;
	}

	public void setDataCode(String dataCode) {
		this.dataCode = dataCode;
	}

	@ApiModelProperty(value = "是否为默认值 0:false 1:true")
	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	@ApiModelProperty(value = "是否冻结 0:禁用 1:激活")
	public Integer getIsActive() {
		return isActive;
	}

	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}

	@ApiModelProperty(value = "字典ID 关联dictionary表主键")
	public Long getDictionaryId() {
		return dictionaryId;
	}

	public void setDictionaryId(Long dictionaryId) {
		this.dictionaryId = dictionaryId;
	}

	@ApiModelProperty(value = "字典值图标链接地址")
	public String getDataIconUrl() {
		return dataIconUrl;
	}

	public void setDataIconUrl(String dataIconUrl) {
		this.dataIconUrl = dataIconUrl;
	}

	@ApiModelProperty(value = "背景色")
	public String getBackColor() {
		return backColor;
	}

	public void setBackColor(String backColor) {
		this.backColor = backColor;
	}

	@ApiModelProperty(value = "排序号")
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@ApiModelProperty(value = "平台ID")
	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
}
